package com.cskaoyan.mapper;

import com.cskaoyan.bean.PO.MarketPermissionsFirst;
import com.cskaoyan.bean.PO.MarketPermissionsFirstExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MarketPermissionsFirstMapper {
    long countByExample(MarketPermissionsFirstExample example);

    int deleteByExample(MarketPermissionsFirstExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketPermissionsFirst record);

    int insertSelective(MarketPermissionsFirst record);

    List<MarketPermissionsFirst> selectByExample(MarketPermissionsFirstExample example);

    MarketPermissionsFirst selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketPermissionsFirst record, @Param("example") MarketPermissionsFirstExample example);

    int updateByExample(@Param("record") MarketPermissionsFirst record, @Param("example") MarketPermissionsFirstExample example);

    int updateByPrimaryKeySelective(MarketPermissionsFirst record);

    int updateByPrimaryKey(MarketPermissionsFirst record);
}